<template>
	<view>
		<view class="placeContent">
			<view class="placeBox" v-for="(item, index) in addr" :key="index">
				<view class="areaContent">{{item.city + item.area + item.street}}</view>
				<u-divider></u-divider>
			</view>
		</view>
	</view>
</template>

<script>
	import request from '@/utills/request.js'
	export default {
		data() {
			return {
				addr: []
			}
		},
		onLoad() {
			this.getFackAddr()
		},
		methods: {
			async getFackAddr() {
				let res = await request({
					method: 'get',
					url: 'user/fakeAddr'
				})

				if (res.data.code == 200) {
					this.addr = res.data.data
				}
			}
		}
	}
</script>

<style>
	.placeContent {
		padding: 15px;
		background-color: #fff;
	}

	.placeBox {
		padding: 15px 15px 0 15px;
	}
</style>
